package io.sdl.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CheckDto {

	@SchemaProperty(name = "营业执照照片")
	private String businessLicenseImage;

	@SchemaProperty(name = "营业执照编号")
	private String businessLicenseNumber;

	@SchemaProperty(name = "身份证")
	private String idCard;

	@SchemaProperty(name = "机构地址")
	private String institutionAddress;

	@SchemaProperty(name = "机构创始人")
	private String institutionCreater;

	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	@SchemaProperty(name = "成立日期")
	private Date institutionData;

	@SchemaProperty(name = "机构简介")
	private String institutionIntro;

	@SchemaProperty(name = "Logo")
	private String institutionLogo;

	@SchemaProperty(name = "联系邮箱")
	private String institutionMailbox;

	@SchemaProperty(name = "机构名称")
	private String institutionName;

	@SchemaProperty(name = "联系电话")
	private String institutionPhone;

	@SchemaProperty(name = "机构类型")
	private Integer institutionType;

	@SchemaProperty(name = "真实姓名")
	private String realName;

	@SchemaProperty(name = "token")
	private String token;

	@SchemaProperty(name = "当前角色")
	private String role;
}
